package pers.zb.wechat.rpc.api.wxapi.coupon.manage.model;

/**
 * 会员卡。
 */
public class MemberCard {
    // 基本的卡券数据，见下表，所有卡券通用
    private BaseInfo base_info;
    // 是否支持积分，填写true 或false，如填写true，积分相关字段均为必填。填写false，积分字段无需填写。储值字段处理方式相同。
    private boolean supply_bonus;
    // 是否支持储值，填写true 或false
    private boolean supply_balance;
    // 积分清零规则
    private String bonus_cleared;
    // 积分规则
    private String bonus_rules;
    // 储值说明
    private String balance_rules;
    // 特权说明
    private String prerogative;
    // 绑定旧卡的url。与“activate_url”二选一必填。
    private String bind_old_card_url;
    // 激活会员卡的url。与“bind_old_card_url”二选一必填。
    private String activate_url;

    public BaseInfo getBase_info() {
        return base_info;
    }

    public void setBase_info(BaseInfo base_info) {
        this.base_info = base_info;
    }

    public boolean isSupply_bonus() {
        return supply_bonus;
    }

    public void setSupply_bonus(boolean supply_bonus) {
        this.supply_bonus = supply_bonus;
    }

    public boolean isSupply_balance() {
        return supply_balance;
    }

    public void setSupply_balance(boolean supply_balance) {
        this.supply_balance = supply_balance;
    }

    public String getBonus_cleared() {
        return bonus_cleared;
    }

    public void setBonus_cleared(String bonus_cleared) {
        this.bonus_cleared = bonus_cleared;
    }

    public String getBonus_rules() {
        return bonus_rules;
    }

    public void setBonus_rules(String bonus_rules) {
        this.bonus_rules = bonus_rules;
    }

    public String getBalance_rules() {
        return balance_rules;
    }

    public void setBalance_rules(String balance_rules) {
        this.balance_rules = balance_rules;
    }

    public String getPrerogative() {
        return prerogative;
    }

    public void setPrerogative(String prerogative) {
        this.prerogative = prerogative;
    }

    public String getBind_old_card_url() {
        return bind_old_card_url;
    }

    public void setBind_old_card_url(String bind_old_card_url) {
        this.bind_old_card_url = bind_old_card_url;
    }

    public String getActivate_url() {
        return activate_url;
    }

    public void setActivate_url(String activate_url) {
        this.activate_url = activate_url;
    }

}
